#ifndef BLANKFORM_HPP
#define BLANKFORM_HPP

#include <QWidget>
#include <ExamInterface.hpp>
#include <Question.hpp>

namespace Ui {
class BlankForm;
}

class BlankForm : public QWidget,public ExamInterface
{
    Q_OBJECT

public:
    explicit BlankForm(RandomQuestion *rd,int type=0, QWidget *parent = 0);
    bool checkCorrection(QString *msg);
    ~BlankForm();
    bool nextQuestion(QString *msg);
    void updateConfig(const ExamConfig *);
    void clearText();
private:
    Ui::BlankForm *ui;
    RandomQuestion *randomq;
    const QString *answer;
    int type;
    bool status;
};

#endif // BLANKFORM_HPP
